﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyWindowsMediaPlayer.Models
{
	public class MediaModel
	{
		#region Members

		private Uri _itemPath;
		private String _picturePath;
		private String _name;
		private String _type;
		private int _notation;
		private TimeSpan _duration;

		#endregion

		#region Accessors

		public Uri ItemPath
		{
			get { return this._itemPath; }
			set { this._itemPath = value; }
		}

		public String PicturePath
		{
			get { return this._picturePath; }
			set { this._picturePath = value; }
		}
		public String Name
		{
			get { return this._name; }
			set { this._name = value; }
		}

		public String Type
		{
			get { return this._type; }
			set { this._type = value; }
		}

		public int Notation
		{
			get { return this._notation; }
			set { this._notation = value; }
		}

		public TimeSpan Duration
		{
			get { return this._duration; }
			set { this._duration = value; }
		}

		#endregion

        #region constructors

        public MediaModel() 
        {
        }

        public MediaModel(string path)
        {
            path = "toto";
        }

        #endregion
    }
}
